INCLUDES = -I/usr/include/libiptc -I/usr/include/libnl3
LIBS = -L. -pthread -lip4tc -lnl-cli-3 -lnl-route-3 -lnl-3 -ldl
CFLAGS = -fomit-frame-pointer -static

exploit: libip4tc.a
	gcc -o $@ exploit.c $(INCLUDES) $(CFLAGS) $(LIBS)

prerequisites:
	sudo apt-get install libnl-cli-3-dev libnl-route-3-dev libip4tc-dev
